package com.tianshi.yingxue.service;

import com.tianshi.yingxue.entity.Video;

import java.util.List;

public interface VideoService {
    List<Video> queryAll();
    void add(Video video);
    void updateVideo(Video video);
    void deleteOssFile(String filePath);
    boolean delete(Integer id);
    void changeStatus(Integer id, Integer status);
    Video queryById(Integer id);
    void updateStatus(Integer id, Integer status);
    List<Video> searchVideo(String content);
}
